const tabViewData = () => import('@/pages/version-manage/solution-version/components/TabTabViewData.vue')
const tabModifyHistory = () => import('@/pages/version-manage/ecrf-version/components/TabModifyHistory.vue')
const projectPersonManage = () => import('@/pages/system-config/project-person-manage')
const projectRoleManage = () => import('@/pages/system-config/project-role-manage')
// 💭中心管理
const centralManagement = () => import('@/pages/central-management/central-management')
const centerDatabaseVersion = () => import('@/pages/central-management/center-database-version')
const centralLab = () => import('@/pages/central-management/central-lab')
const laboratoryReferenceValueManagement = () =>
  import('@/pages/central-management/laboratory-reference-value-management')
const memberManagement = () => import('@/pages/central-management/member-management')
const subjectInformation = () => import('@/pages/subject-information/subject-information')
const subjectInformationSummary = () => import('@/pages/subject-information/subject-information-summary')
const databaseVersionChange = () => import('@/pages/database-management/database-versionChange')
const questioningManagement = () => import('@/pages/questioning-management')
// 💭报告管理
const edcExport = () => import('@/pages/report-management/standard-report/edc-export')
const projectProgressReport = () => import('@/pages/report-management/standard-report/project-progress-report')
const dataManagementReport = () => import('@/pages/report-management/standard-report/data-management-report')
const kpiReport = () => import('@/pages/report-management/standard-report/kpi-report')
const qualityReport = () => import('@/pages/report-management/standard-report/quality-report')
const databaseReport = () => import('@/pages/report-management/standard-report/database-report')
const auditTrail = () => import('@/pages/report-management/standard-report/audit-trail')
const accountHistory = () => import('@/pages/report-management/standard-report/account-history')
const reportHistory = () => import('@/pages/report-management/report-history')
const periodicReport = () => import('@/pages/report-management/periodic-report')

const routes = {
  tabViewData: {
    name: '列表',
    path: 'tabViewData',
    component: tabViewData,
  },
  tabModifyHistory: {
    name: '编辑',
    path: 'tabModifyHistory',
    component: tabModifyHistory,
  },
  projectPersonManage: {
    name: '项目成员',
    path: 'projectPersonManage',
    component: projectPersonManage,
  },
  projectRoleManage: {
    name: '项目角色',
    path: 'projectRoleManage',
    component: projectRoleManage,
  },
  // 💭中心管理
  centralManagement: {
    name: '中心管理',
    path: 'central-management/central-management',
    component: centralManagement,
  },
  centerDatabaseVersion: {
    name: '中心数据库管理',
    path: 'central-management/center-database-version',
    component: centerDatabaseVersion,
  },
  centralLab: {
    name: '中心实验室',
    path: 'central-management/central-lab',
    component: centralLab,
  },
  laboratoryReferenceValueManagement: {
    name: '实验室参考值管理',
    path: 'central-management/laboratory-reference-value-management',
    component: laboratoryReferenceValueManagement,
  },
  memberManagement: {
    name: '成员管理',
    path: 'central-management/member-management',
    component: memberManagement,
  },
  // 💭受试者信息
  subjectInformation: {
    path: 'subject-information',
    name: '受试者信息',
    component: subjectInformation,
  },
  subjectInformationSummary: {
    path: 'subject-information-summary',
    name: '受试者汇总',
    component: subjectInformationSummary,
  },
  // 💭数据库管理
  databaseVersionChange: {
    name: '数据库管理',
    path: 'database-management/database-versionChange',
    component: databaseVersionChange,
  },
  // 质疑管理
  questioningManagement: {
    path: 'questioning-management',
    name: '质疑管理',
    component: questioningManagement,
  },
  // 💭报告管理
  // EDC导出
  edcExport: {
    path: 'report-management/standard-report/edc-export',
    name: 'EDC导出',
    component: edcExport,
  },
  // 项目进展报告
  projectProgressReport: {
    path: 'report-management/standard-report/project-progress-report',
    name: '项目进展报告',
    component: projectProgressReport,
  },
  // 数据管理报告
  dataManagementReport: {
    path: 'report-management/standard-report/data-management-report',
    name: '数据管理报告',
    component: dataManagementReport,
  },
  // kpi报告
  kpiReport: {
    path: 'report-management/standard-report/kpi-report',
    name: 'kpi报告',
    component: kpiReport,
  },
  // 质量报告
  qualityReport: {
    path: 'report-management/standard-report/standard-report/quality-report',
    name: '质量报告',
    component: qualityReport,
  },
  // 数据库报告
  databaseReport: {
    path: 'report-management/standard-report/database-report',
    name: '数据库报告',
    component: databaseReport,
  },
  // 稽查轨迹
  auditTrail: {
    path: 'report-management/standard-report/audit-trail',
    name: '稽查轨迹',
    component: auditTrail,
  },
  // 账户历史
  accountHistory: {
    path: 'report-management/standard-report/account-history',
    name: '账户历史',
    component: accountHistory,
  },
  // 定时报告
  reportHistory: {
    path: 'report-management/report-history',
    name: '定时报告',
    component: periodicReport,
  },
  // 报告历史
  periodicReport: {
    path: 'report-management/periodic-report',
    name: '报告历史',
    component: reportHistory,
  },
}
export default routes
